# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: sys-kernel/reiser4-gentoo-sources/reiser4-gentoo-sources-3.8.7.ebuild,v 1.0 2013/04/14 02:00:00 itspec Exp $

EAPI="5"
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="10"
K_DEBLOB_AVAILABLE="1"
REISER4_PATCHES_VER="3.8.5"
inherit kernel-2
detect_version
detect_arch

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches"
IUSE="deblob"

DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"

REISER4_URI="mirror://sourceforge/reiser4/reiser4-for-linux-3.x/reiser4-for-${REISER4_PATCHES_VER}.patch.gz"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${REISER4_URI}"
UNIPATCH_LIST="${DISTDIR}/reiser4-for-${REISER4_PATCHES_VER}.patch.gz"

pkg_postinst() {
    kernel-2_pkg_postinst
    einfo "For more info on this patchset, and how to report problems, see:"
    einfo "${HOMEPAGE}"
}

pkg_postrm() {
    kernel-2_pkg_postrm
}
